package com.itcast.bulls.stock.task.service;

import com.itcast.bulls.stock.entity.trade.TradeDeal;
import org.springframework.transaction.annotation.Transactional;

public interface IAccountSettlementService {

    //生成账户交割单数据
    void generateAccountSettlement();

    /**
     * 根据成交记录生成交割单数据
     * @param deal
     */
    @Transactional(rollbackFor = Exception.class,transactionManager = "bizSystemTransactionManager")
    void processTradeDeal(TradeDeal deal);
}
